/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package systole.persistence.brokersInterface;

import java.util.List;
import systole.domain.clinicalInformation.standardValues.StandardParams;
import systole.domain.clinicalInformation.standardValues.StandardValue;
import systole.exceptions.ExceptionDAO;


/**
 *
 * @author jmj
 */
public interface StandardValuesBroker {


    /**
     *
     * @return all standard values
     * @throws ExceptionDAO
     */
    public List<StandardValue> getAllStandardValues()throws ExceptionDAO;


    /**
     *
     * @param paramType
     * @return
     * @throws ExceptionDAO
     */
    public StandardValue getStandardValueByParamType(StandardParams paramType) throws ExceptionDAO;


    /**
     * init the standard values
     * @throws ExceptionDAO
     */
    public void initSatandardValues() throws ExceptionDAO;

    /**
     *
     * @param standardValue
     * @throws ExceptionDAO
     */
    public void insert(StandardValue standardValue) throws ExceptionDAO;

    /**
     * 
     * @param standardValue
     * @throws ExceptionDAO
     */
    public void update(StandardValue standardValue) throws ExceptionDAO;

}
